From 415533b5b57c2737595ec3ad74ef84a607ab4570 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 16 Dec 2023 12:40:45 +0000 Subject: Always store single element for additional closure data --- ...uct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index 66dee940..74b812a3 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -41,11 +41,11 @@ Locals: Instructions: ( - (alloc-heap (local "closurePointer__User__0") (struct (function-ptr (struct ())))) + (alloc-heap (local "closurePointer__User__0") (struct (function-ptr (struct ()) (struct ())))) ( memory-store pointer=(local "closurePointer__User__0") - layout=(struct (function-ptr (struct ()))) + layout=(struct (function-ptr (struct ()) (struct ()))) offset=(0) value=(function-ptr "shed__function__User__0") ) -- cgit v1.2.3